# dictls = [{'name':'aa','age':18},{'name':'ss','age':18}]
# print(dictls[0])
# print(dictls.clear())
# dict1 = dict(name='aa',age=18)
# print(dict1)
# dict1['name'] = 'sssss'
# print(dict1)
# dict1["add"] = 'shhh'
# print(dict1)
# dict1.pop('age')
# print(dict1)

new_dict = dict.fromkeys(['name',"age"])
print(new_dict)
new_dict["name"] = 'wang'
new_dict["age"] = 18
print(new_dict)
print(new_dict.get("name"))

for k,v in new_dict.items():
    print(k,v)

for k in new_dict.keys():
    print(k)
for v in new_dict.values():
    print(v)